package com.qf.flash.model;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 创建日期：2020/5/26 on 22:04
 * 描述:
 * 作者:戴旭东
 */
public class PayResetBean implements Parcelable {
   private String userId;
    private int payType;
    private String orderId;
    private double money;

    public PayResetBean() {
    }


    protected PayResetBean(Parcel in) {
        userId = in.readString();
        payType = in.readInt();
        orderId = in.readString();
        money = in.readDouble();
    }

    public static final Creator<PayResetBean> CREATOR = new Creator<PayResetBean>() {
        @Override
        public PayResetBean createFromParcel(Parcel in) {
            return new PayResetBean(in);
        }

        @Override
        public PayResetBean[] newArray(int size) {
            return new PayResetBean[size];
        }
    };

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getPayType() {
        return payType;
    }

    public void setPayType(int payType) {
        this.payType = payType;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(userId);
        dest.writeInt(payType);
        dest.writeString(orderId);
        dest.writeDouble(money);
    }
}
